x86/vMSI-X: defer intercept handler registration
authorJan Beulich <jbeulich@suse.com>
Wed, 22 Jun 2016 09:58:31 +0000 (11:58 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 22 Jun 2016 09:58:31 +0000 (11:58 +0200)
commit74c6dc2d0ac4dcab0c6243cdf6ed550c1532b798
tree5de9e5c6310aa8a00ceb59518e09bf623a39f480
parentc6f7d21747805b50123fc1b8d73518fea2aa9096
x86/vMSI-X: defer intercept handler registration

There's no point in registering the internal MSI-X table intercept
functions on all domains - it is sufficient to do so once a domain gets
an MSI-X capable device assigned.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/vmsi.c
xen/drivers/passthrough/pci.c